<?php
/******************************************************************************
 * Author: michal
 * Last modified: 2010-12-03 09:37
 * Filename: general_show_t.view.php
 * Extend: base_1col.view.php
 * Description:	单条微博页模板 
 * 继承的变量:
 * $title,$user,$sitename,$lang,$arrowPosition,$extrahead,$content
 * 新声明的变量:
 * 变量列表:
 * 已使用的变量:
 * 子模板可用变量: 
******************************************************************************/
ob_start();
?>
<style type="text/css">
.wallintrowrapper{width:100%;height:57px;position:absolute;top:35px;;left:0px;}
.wallintro{width:800px;height:100%;margin:0 auto;overflow:hidden;}
.wallintromain{width:100%;height:100%;margin-left:200px;overflow:hidden;}
.pagenav,.search,.navarrow{display:none;}
.wall{width:760px;margin:0 auto;}
.tmessage .tbottom{display:none;}
ul.tmain li.tmessage{border:1px solid #D8D8D8;margin-top:25px;}
ul.tmain li.tmessage .ttouxiang{background:url('style/images/wall_bg.gif') no-repeat 100% 12px;}
ul.tmain li.tmessage .tbody{padding-left:8px;padding-top:0px;margin-top:10px;font-size:24px;word-wrap:break-word;font-family:微软雅黑;line-height:150%;width:662px;}
ul.tmain li.tmessage .tbody a.tname{font-weight:bold;}
ul.tmain li.tmessage .tbody a{color:#333333;}
ul.tmain li.tmessage .tbody a:hover{text-decoration:none;cursor:default;}
</style>
<script>
<?php 
	echo "var wallid=".$wallinfo["id"].";";
?>
</script>
<script type="text/javascript" src="./js/updateWall.js"></script>
<?php
$extrahead = ob_get_contents();
ob_end_clean();
ob_start();
?>
<?php if(isset($wallinfo) && !empty($wallinfo["headerhtml"])){ ?>
<div class="wallintrowrapper">
	<div class="wallintro">
		<div class="wallintromain">
			<?php echo $wallinfo["headerhtml"];?>
		</div>
	</div>
</div>
<?php } ?>
<?php 
$extraheader = ob_get_contents();
ob_end_clean();
ob_start();
?>
<div class="wall" id="wall">
<?php 
		if( isset($t) && is_array($t) && count($t) > 0 ){
			require pathJoin( TEMPLATE_DIR,'common','tbody.view.php' );
		}
?>
</div>
<?php
$content = ob_get_contents();
ob_end_clean();
require_once pathJoin( TEMPLATE_DIR,'base_1col.view.php' );
?>
